package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 花卉信息管理对象 flower_info
 * 
 * @author lwb
 * @date 2024-12-26
 */
public class FlowerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 花卉名称 */
    @Excel(name = "花卉名称")
    private String name;

    /** 花卉别名 */
    @Excel(name = "花卉别名")
    private String nickName;

    /** 花卉图片 */
    @Excel(name = "花卉图片")
    private String url;

    /** 花卉种类id */
    @Excel(name = "花卉种类id")
    private Long categoryId;

    /** 花卉种类 */
    @Excel(name = "花卉种类")
    private String categoryName;

    /** 生长周期 */
    @Excel(name = "生长周期")
    private String growthCycle;

    /** 产地 */
    @Excel(name = "产地")
    private String address;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setGrowthCycle(String growthCycle) 
    {
        this.growthCycle = growthCycle;
    }

    public String getGrowthCycle() 
    {
        return growthCycle;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("nickName", getNickName())
            .append("url", getUrl())
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("growthCycle", getGrowthCycle())
            .append("address", getAddress())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
